package com.gec.oasys.dao;

import com.gec.oasys.pojo.SysUser;
import com.gec.oasys.util.SoulPage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    public List<SysUser> querySysUser(SysUser sysUser);

    List<SysUser> dataGrid(SoulPage<SysUser> soulPage, @Param("so") SysUser sysUser);

    List<SysUser> findUserByLoginNameAndPwd(SysUser sysUser);
}